﻿
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace FrameworkDesign
{
    public class Slot
    {
        public BindableProperty<IItem> Item=new BindableProperty<IItem>();
        public BindableProperty<int> Count=new BindableProperty<int>();
        public SlotGroup SlotGroupPar;
        public Slot() { }
        public Slot(SlotGroup group) { SlotGroupPar = group; }
        public Slot(IItem item ,int count, SlotGroup group=null)
        {
            Item.mValue = item; Count.mValue = count; SlotGroupPar = group;
        }
    }
}